<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Nfc Interactor: NdefNfcSmartUriRecord Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="nfcinteractor80.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Nfc Interactor
   &#160;<span id="projectnumber">2.1.0</span>
   </div>
   <div id="projectbrief">Shows all information about NFC tags available through Qt Mobility APIs. Includes reusable convenience classes for handling additional tag types: Smart Poster, Image and vCard.</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">NdefNfcSmartUriRecord Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="NdefNfcSmartUriRecord" --><!-- doxytag: inherits="NdefNfcSpRecord" -->
<p>Smart class that uses the smallest possible NDEF record type for storing the requested information - either a simple URI record, or a Smart Poster record.  
 <a href="class_ndef_nfc_smart_uri_record.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ndefnfcsmarturirecord_8h_source.html">ndefnfcsmarturirecord.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for NdefNfcSmartUriRecord:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_ndef_nfc_smart_uri_record.png" usemap="#NdefNfcSmartUriRecord_map" alt=""/>
  <map id="NdefNfcSmartUriRecord_map" name="NdefNfcSmartUriRecord_map">
<area href="class_ndef_nfc_sp_record.html" title="Handles the Smart Poster meta-record and is able to both parse and assemble a smart poster according ..." alt="NdefNfcSpRecord" shape="rect" coords="244,0,397,24"/>
<area href="class_ndef_nfc_geo_record.html" title="Store longitude and latitude on a tag, to allow the user to view a map when touching the tag..." alt="NdefNfcGeoRecord" shape="rect" coords="0,112,153,136"/>
<area href="class_ndef_nfc_sms_record.html" title="Convenience class for formatting SMS information into an NDEF record, depending on added info either ..." alt="NdefNfcSmsRecord" shape="rect" coords="163,112,316,136"/>
<area href="class_ndef_nfc_social_record.html" title="Link to one of the supported social networks by simply selecting the network and specifying the usern..." alt="NdefNfcSocialRecord" shape="rect" coords="326,112,479,136"/>
<area href="class_ndef_nfc_store_link_record.html" title="Create an app store link to download the app, either direct or for multiple stores using the nfcinter..." alt="NdefNfcStoreLinkRecord" shape="rect" coords="489,112,642,136"/>
</map>
 </div></div>

<p><a href="class_ndef_nfc_smart_uri_record-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_smart_uri_record.html#a2572a36dd58da7399cb5547a203cacb1">NdefNfcSmartUriRecord</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an empty Smart URI record.  <a href="#a2572a36dd58da7399cb5547a203cacb1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6684b184ec69e222e848e20cdb621077"></a><!-- doxytag: member="NdefNfcSmartUriRecord::NdefNfcSmartUriRecord" ref="a6684b184ec69e222e848e20cdb621077" args="(const QNdefRecord &amp;other)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>NdefNfcSmartUriRecord</b> (const QNdefRecord &amp;other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QByteArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_smart_uri_record.html#a6362ddca358e7d6b02073af2cc272c3b">type</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the current type of the Smart Uri record: either U for URI or Sp for Smart Poster when Sp-related info has been added.  <a href="#a6362ddca358e7d6b02073af2cc272c3b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QByteArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_smart_uri_record.html#ae8532c236cf111a90eefaa2bad4e6849">payload</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the payload of the record - either a Smart Poster, or a URI if no Sp-specific info has been added yet.  <a href="#ae8532c236cf111a90eefaa2bad4e6849"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_smart_uri_record.html#aa69fce0efdf82103e807e96e9ab83949">isSp</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the record contains any information that would mandate a Smart Poster record. If this record only contains a URI, retrieving its type or payload will return a URI record instead of a Smart Poster.  <a href="#aa69fce0efdf82103e807e96e9ab83949"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_smart_uri_record.html#ad1ffcc7fe4263cf8ba6925f3febd6617">setUri</a> (const QUrl &amp;uri)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the URI to the specified URI.  <a href="#ad1ffcc7fe4263cf8ba6925f3febd6617"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_smart_uri_record.html#a37915e5d89655439fc8faa613195e8eb">setUri</a> (const QNdefNfcUriRecord &amp;newUri)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the URI to the specified URI.  <a href="#a37915e5d89655439fc8faa613195e8eb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_smart_uri_record.html#a354051e0c994f2bf34f62f0c19b5fde1">addTitle</a> (const QNdefNfcTextRecord &amp;newTitle)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an (optional) title to the Smart Poster.  <a href="#a354051e0c994f2bf34f62f0c19b5fde1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_smart_uri_record.html#a113e57ff10073ee7c9378ff869afe9ea">setTitleList</a> (QList&lt; QNdefNfcTextRecord &gt; newTitleList)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set all the titles of the Smart Poster.  <a href="#a113e57ff10073ee7c9378ff869afe9ea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_smart_uri_record.html#a3845d35ebfe4e7e34e29fc98d0808166">setAction</a> (const NfcAction &amp;action)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the action of the Smart Poster to the specified value.  <a href="#a3845d35ebfe4e7e34e29fc98d0808166"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_smart_uri_record.html#a36f7c8e7a374e59c1c96fdbd628fbfca">setSize</a> (const quint32 size)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the size of the Smart Poster to the specified value.  <a href="#a36f7c8e7a374e59c1c96fdbd628fbfca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_smart_uri_record.html#ae91a9371a13f618e0ca14746cd5dfb62">setMimeType</a> (const QString &amp;mimeType)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the type of the Smart Poster to the specified value.  <a href="#ae91a9371a13f618e0ca14746cd5dfb62"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_smart_uri_record.html#a1026e55340dffc94be5b5dcf8f2b4391">setImage</a> (const <a class="el" href="class_ndef_nfc_mime_image_record.html">NdefNfcMimeImageRecord</a> &amp;imageRecord)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an image to the Smart Poster.  <a href="#a1026e55340dffc94be5b5dcf8f2b4391"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Smart class that uses the smallest possible NDEF record type for storing the requested information - either a simple URI record, or a Smart Poster record. </p>
<p>At construction and when only setting the URI, this class will stay a URI record. As soon as you set a Smart Poster feature, the payload and type will transform into a Smart Poster. This transformation will not be reversed if you remove Smart Poster information again.</p>
<p>If you use the <a class="el" href="class_ndef_nfc_smart_uri_record.html#a6362ddca358e7d6b02073af2cc272c3b" title="Return the current type of the Smart Uri record: either U for URI or Sp for Smart Poster when Sp-rela...">type()</a> and <a class="el" href="class_ndef_nfc_smart_uri_record.html#ae8532c236cf111a90eefaa2bad4e6849" title="Get the payload of the record - either a Smart Poster, or a URI if no Sp-specific info has been added...">payload()</a> methods provided by this class, it will look like a URI record again. However, as the methods of the base class are not virtual, accessing the <a class="el" href="class_ndef_nfc_smart_uri_record.html#ae8532c236cf111a90eefaa2bad4e6849" title="Get the payload of the record - either a Smart Poster, or a URI if no Sp-specific info has been added...">payload()</a> through a variable of type QNdefRecord would return a Smart Poster payload after such information has been added.</p>
<p>Note: the QNdefRecord base class doesn't define its methods as virtual. Therefore, make sure you only modify the data in this class if your object is of the correct <a class="el" href="class_ndef_nfc_smart_uri_record.html" title="Smart class that uses the smallest possible NDEF record type for storing the requested information - ...">NdefNfcSmartUriRecord</a> type.</p>
<dl class="version"><dt><b>Version:</b></dt><dd>1.0.0 </dd></dl>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2572a36dd58da7399cb5547a203cacb1"></a><!-- doxytag: member="NdefNfcSmartUriRecord::NdefNfcSmartUriRecord" ref="a2572a36dd58da7399cb5547a203cacb1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NdefNfcSmartUriRecord::NdefNfcSmartUriRecord </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create an empty Smart URI record. </p>
<p>Will by default be a URI record type, until the Sp-specific info is added.</p>
<p>Note that the payload will not be corresponding to this until the URI has been added, as a URI / Smart Poster record is not legal without an URI. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a354051e0c994f2bf34f62f0c19b5fde1"></a><!-- doxytag: member="NdefNfcSmartUriRecord::addTitle" ref="a354051e0c994f2bf34f62f0c19b5fde1" args="(const QNdefNfcTextRecord &amp;newTitle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NdefNfcSmartUriRecord::addTitle </td>
          <td>(</td>
          <td class="paramtype">const QNdefNfcTextRecord &amp;&#160;</td>
          <td class="paramname"><em>newTitle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add an (optional) title to the Smart Poster. </p>
<p>It is possible to add more than one title as each title text record can have a different language. The phone is then recommended to choose the text record with the language that makes most sense to the user.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newTitle</td><td>(additional) title to be stored in the Smart Poster. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="class_ndef_nfc_sp_record.html#a3f37323f2725747944882bbe1b6fbe35">NdefNfcSpRecord</a>.</p>

</div>
</div>
<a class="anchor" id="aa69fce0efdf82103e807e96e9ab83949"></a><!-- doxytag: member="NdefNfcSmartUriRecord::isSp" ref="aa69fce0efdf82103e807e96e9ab83949" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool NdefNfcSmartUriRecord::isSp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if the record contains any information that would mandate a Smart Poster record. If this record only contains a URI, retrieving its type or payload will return a URI record instead of a Smart Poster. </p>
<p>Return if the information stored in this class needs a Smart Poster, or if the (smaller) URI record is used. </p>

</div>
</div>
<a class="anchor" id="ae8532c236cf111a90eefaa2bad4e6849"></a><!-- doxytag: member="NdefNfcSmartUriRecord::payload" ref="ae8532c236cf111a90eefaa2bad4e6849" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray NdefNfcSmartUriRecord::payload </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the payload of the record - either a Smart Poster, or a URI if no Sp-specific info has been added yet. </p>
<p>Warning: <a class="el" href="class_ndef_nfc_smart_uri_record.html#ae8532c236cf111a90eefaa2bad4e6849" title="Get the payload of the record - either a Smart Poster, or a URI if no Sp-specific info has been added...">payload()</a> isn't defined as virtual in the base class, therefore this method is only executed when the pointer is of the correct type! </p>

</div>
</div>
<a class="anchor" id="a3845d35ebfe4e7e34e29fc98d0808166"></a><!-- doxytag: member="NdefNfcSmartUriRecord::setAction" ref="a3845d35ebfe4e7e34e29fc98d0808166" args="(const NfcAction &amp;action)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NdefNfcSmartUriRecord::setAction </td>
          <td>(</td>
          <td class="paramtype">const NfcAction &amp;&#160;</td>
          <td class="paramname"><em>action</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the action of the Smart Poster to the specified value. </p>
<p>After this method has been called, <a class="el" href="class_ndef_nfc_sp_record.html#a3462ff2d61482cb0de93f9b4f30cfb06" title="Returns if the action has been defined for this Smart Poster instance.">actionInUse()</a> will return true. (As it will do when a Smart Poster containing an action has been read and parsed from a tag). </p>

<p>Reimplemented from <a class="el" href="class_ndef_nfc_sp_record.html#a2a240b64df374e41a518ac5b7b38f625">NdefNfcSpRecord</a>.</p>

</div>
</div>
<a class="anchor" id="a1026e55340dffc94be5b5dcf8f2b4391"></a><!-- doxytag: member="NdefNfcSmartUriRecord::setImage" ref="a1026e55340dffc94be5b5dcf8f2b4391" args="(const NdefNfcMimeImageRecord &amp;imageRecord)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NdefNfcSmartUriRecord::setImage </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_ndef_nfc_mime_image_record.html">NdefNfcMimeImageRecord</a> &amp;&#160;</td>
          <td class="paramname"><em>imageRecord</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add an image to the Smart Poster. </p>
<p>After this method has been called, <a class="el" href="class_ndef_nfc_sp_record.html#ae3831762bc44f29d91af269a3a7e3086" title="Returns if the Smart Poster contains an image.">imageInUse()</a> will return true. (As it will do when a Smart Poster containing an image has been read and parsed from a tag). </p>

<p>Reimplemented from <a class="el" href="class_ndef_nfc_sp_record.html#a40961e308de55a66b96cfea7b12aa807">NdefNfcSpRecord</a>.</p>

</div>
</div>
<a class="anchor" id="ae91a9371a13f618e0ca14746cd5dfb62"></a><!-- doxytag: member="NdefNfcSmartUriRecord::setMimeType" ref="ae91a9371a13f618e0ca14746cd5dfb62" args="(const QString &amp;mimeType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NdefNfcSmartUriRecord::setMimeType </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the type of the Smart Poster to the specified value. </p>
<p>After this method has been called, typeInUse() will return true. (As it will do when a Smart Poster containing a type has been read and parsed from a tag). </p>

<p>Reimplemented from <a class="el" href="class_ndef_nfc_sp_record.html#ada9950758e8b3147dbfdce3018580f4e">NdefNfcSpRecord</a>.</p>

</div>
</div>
<a class="anchor" id="a36f7c8e7a374e59c1c96fdbd628fbfca"></a><!-- doxytag: member="NdefNfcSmartUriRecord::setSize" ref="a36f7c8e7a374e59c1c96fdbd628fbfca" args="(const quint32 size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NdefNfcSmartUriRecord::setSize </td>
          <td>(</td>
          <td class="paramtype">const quint32&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the size of the Smart Poster to the specified value. </p>
<p>After this method has been called, <a class="el" href="class_ndef_nfc_sp_record.html#a65305e3fb21f42410d984b2e6055ffeb" title="Returns if the size has been defined for this Smart Poster instance.">sizeInUse()</a> will return true. (As it will do when a Smart Poster containing a size has been read and parsed from a tag). </p>

<p>Reimplemented from <a class="el" href="class_ndef_nfc_sp_record.html#a8b69f976a64c678b153f65196fa3d909">NdefNfcSpRecord</a>.</p>

</div>
</div>
<a class="anchor" id="a113e57ff10073ee7c9378ff869afe9ea"></a><!-- doxytag: member="NdefNfcSmartUriRecord::setTitleList" ref="a113e57ff10073ee7c9378ff869afe9ea" args="(QList&lt; QNdefNfcTextRecord &gt; newTitleList)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NdefNfcSmartUriRecord::setTitleList </td>
          <td>(</td>
          <td class="paramtype">QList&lt; QNdefNfcTextRecord &gt;&#160;</td>
          <td class="paramname"><em>newTitleList</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set all the titles of the Smart Poster. </p>
<p>This replaces any titles that might have been stored in the Smart Poster with the new list.</p>
<p>It is possible to add more than one title as each title text record can have a different language. The phone is then recommended to choose the text record with the language that makes most sense to the user.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newTitleList</td><td>titles to be stored in the Smart Poster. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="class_ndef_nfc_sp_record.html#a0553ad691be3cd4fc8a504388df52ef8">NdefNfcSpRecord</a>.</p>

</div>
</div>
<a class="anchor" id="ad1ffcc7fe4263cf8ba6925f3febd6617"></a><!-- doxytag: member="NdefNfcSmartUriRecord::setUri" ref="ad1ffcc7fe4263cf8ba6925f3febd6617" args="(const QUrl &amp;uri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NdefNfcSmartUriRecord::setUri </td>
          <td>(</td>
          <td class="paramtype">const QUrl &amp;&#160;</td>
          <td class="paramname"><em>uri</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the URI to the specified URI. </p>
<p>This method is especially important to be used from this class (note: non-virtual!), as it overrides the normal Smart Poster payload of the base class with the smaller URI payload if no Sp-info has been added yet. </p>

<p>Reimplemented from <a class="el" href="class_ndef_nfc_sp_record.html#af2587902e2c7a802836ed4f54e8f87b9">NdefNfcSpRecord</a>.</p>

</div>
</div>
<a class="anchor" id="a37915e5d89655439fc8faa613195e8eb"></a><!-- doxytag: member="NdefNfcSmartUriRecord::setUri" ref="a37915e5d89655439fc8faa613195e8eb" args="(const QNdefNfcUriRecord &amp;newUri)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NdefNfcSmartUriRecord::setUri </td>
          <td>(</td>
          <td class="paramtype">const QNdefNfcUriRecord &amp;&#160;</td>
          <td class="paramname"><em>newUri</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the URI to the specified URI. </p>
<p>This method is especially important to be used from this class (note: non-virtual!), as it overrides the normal Smart Poster payload of the base class with the smaller URI payload if no Sp-info has been added yet. </p>

<p>Reimplemented from <a class="el" href="class_ndef_nfc_sp_record.html#a188a11148db7221962b1cae38b0bddcd">NdefNfcSpRecord</a>.</p>

</div>
</div>
<a class="anchor" id="a6362ddca358e7d6b02073af2cc272c3b"></a><!-- doxytag: member="NdefNfcSmartUriRecord::type" ref="a6362ddca358e7d6b02073af2cc272c3b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray NdefNfcSmartUriRecord::type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the current type of the Smart Uri record: either U for URI or Sp for Smart Poster when Sp-related info has been added. </p>
<p>Warning: <a class="el" href="class_ndef_nfc_smart_uri_record.html#a6362ddca358e7d6b02073af2cc272c3b" title="Return the current type of the Smart Uri record: either U for URI or Sp for Smart Poster when Sp-rela...">type()</a> isn't defined as virtual in the base class, therefore this method is only executed when the pointer is of the correct type! </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ndefnfcsmarturirecord_8h_source.html">ndefnfcsmarturirecord.h</a></li>
<li>ndefnfcsmarturirecord.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Properties</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Mon Mar 12 2012 13:32:48 for Nfc Interactor by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
